import http from '@/utils/http'
export function register(data) {
  return http.request({
    url: '/auth/register',
    method: 'post',
    data
  })
}
export function login(data) {
  return http.request({
    url: '/auth/login',
    method: 'post',
    data
  })
}
